package org.jeecg.modules.demo.blancechangerecord.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.blancechangerecord.entity.BalanceChangeRecord;
import org.jeecg.modules.demo.blancechangerecord.mapper.BalanceChangeRecordMapper;
import org.jeecg.modules.demo.blancechangerecord.service.IBalanceChangeRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 会员-贵宾卡
 * @Author: jeecg-boot
 * @Date: 2022-02-11
 * @Version: V1.0
 */
@Service
public class BalanceChangeRecordServiceImpl extends ServiceImpl<BalanceChangeRecordMapper, BalanceChangeRecord> implements IBalanceChangeRecordService {


    @Autowired
    private BalanceChangeRecordMapper balanceChangeRecordMapper;

    @Override
    public List<BalanceChangeRecord> listEx(String storeId, String memberId, String billNo, String name,String phone, String startDate, String endDate, Integer pageNo, Integer pageSize) {
        return balanceChangeRecordMapper.listEx(storeId, memberId, billNo, name,phone, startDate, endDate, pageNo, pageSize);
    }

    @Override
    public int countEx(String storeId, String memberId, String billNo, String name,String phone, String startDate, String endDate) {
        return balanceChangeRecordMapper.countEx(storeId, memberId, billNo, name,phone,startDate, endDate);
    }
}
